import request from '@/utils/request'
// 查询图片
export function querySkuImagesBySkuId(skuId) {
  return request({
    url: '/mall/skuImages/querySkuImagesBySkuId/' + skuId,
    method: 'get'
  })
}
//新增图片
export function batchAdd(data) {
  return request({
    url: '/mall/skuImages/batchAdd',
    method: 'post',
    data: data
  })
}
//删除图片
export function removeByImgUrl(skuId) {
  return request({
    url: '/mall/skuImages/removeByImgUrl/' + skuId,
    method: 'delete'
  })
}
